package cc.openkit.admin.vo;

import cc.openkit.admin.model.HouseRenovationOffer;
import cc.openkit.admin.model.Task;

import java.util.Date;

public class TaskVo extends HouseRenovationOffer {

    private String taskId;

    private String taskFid;//关联上级任务id（改任务隶属于那个项目下，没有上级就存为0）

    private String taskToUser;//任务接收者 关联的商户表up_company

    private Integer taskStatus;//1.接收 2.拒绝 3.接单中 4.已上门 （这条任务的状态）

    private String phaseName;//阶段（如 水电 等）（保存名称）

    private String phaseId;//阶段id （备用 阶段可后台配置）

    private Date createTime;//任务派发时间

    private String replaceCompanyId;//被替换的装修公司id   多个用逗号隔开

    private String replaceDesignId;//被替换的设计师id      多个用逗号隔开

    private String replaceSupervisionId;//被替换的监理id         多个用逗号隔开

    private Integer taskType;//1.属于运营中心的任务 2.装修公司 3.工长 4.监理 5.设计师（备用）

    private String projectId;//项目id

    private Integer overtimeStatus;//1.超时 2.正常

    private Date centerGiveTime;//中心派单时间

//    private Date adminGiveTime;//平台派单时间 备用

    private Date hroDispatchTime;//平台派单时间

    private Date receiveOrderTime;//接单时间

    private Date finishTime;//完成时间

    private String centerName;//运营中心名称

    private Date currentDate;//服务器当前时间

    private String taskSidStatus;//下级接单状态 1.已接单 2.已拒绝 3.派单中 （这条任务分配给下级的接单状态）

    @Override
    public Date getHroDispatchTime() {
        return hroDispatchTime;
    }

    @Override
    public void setHroDispatchTime(Date hroDispatchTime) {
        this.hroDispatchTime = hroDispatchTime;
    }

    public String getTaskSidStatus() {
        return taskSidStatus;
    }

    public void setTaskSidStatus(String taskSidStatus) {
        this.taskSidStatus = taskSidStatus;
    }

    public Date getCenterGiveTime() {
        return centerGiveTime;
    }

    public void setCenterGiveTime(Date centerGiveTime) {
        this.centerGiveTime = centerGiveTime;
    }


    public Date getReceiveOrderTime() {
        return receiveOrderTime;
    }

    public void setReceiveOrderTime(Date receiveOrderTime) {
        this.receiveOrderTime = receiveOrderTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Date getCurrentDate() {
        return currentDate;
    }

    public void setCurrentDate(Date currentDate) {
        this.currentDate = currentDate;
    }

    public String getCenterName() {
        return centerName;
    }

    public void setCenterName(String centerName) {
        this.centerName = centerName;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskFid() {
        return taskFid;
    }

    public void setTaskFid(String taskFid) {
        this.taskFid = taskFid;
    }

    public String getTaskToUser() {
        return taskToUser;
    }

    public void setTaskToUser(String taskToUser) {
        this.taskToUser = taskToUser;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getPhaseName() {
        return phaseName;
    }

    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName;
    }

    public String getPhaseId() {
        return phaseId;
    }

    public void setPhaseId(String phaseId) {
        this.phaseId = phaseId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReplaceCompanyId() {
        return replaceCompanyId;
    }

    public void setReplaceCompanyId(String replaceCompanyId) {
        this.replaceCompanyId = replaceCompanyId;
    }

    public String getReplaceDesignId() {
        return replaceDesignId;
    }

    public void setReplaceDesignId(String replaceDesignId) {
        this.replaceDesignId = replaceDesignId;
    }

    public String getReplaceSupervisionId() {
        return replaceSupervisionId;
    }

    public void setReplaceSupervisionId(String replaceSupervisionId) {
        this.replaceSupervisionId = replaceSupervisionId;
    }

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Integer getOvertimeStatus() {
        return overtimeStatus;
    }

    public void setOvertimeStatus(Integer overtimeStatus) {
        this.overtimeStatus = overtimeStatus;
    }
}
